﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;

namespace YJKAreaCutter.Utils.ClipPolygon
{
	public class MyPolygon
	{
		public MyPolygon(List<Curve> lstCurve)
		{
			this.m_lstBoundary = lstCurve;
		}

		public MyPolygon(CurveLoop loop)
		{
			foreach (Curve item in loop)
			{
				this.m_lstBoundary.Add(item);
			}
		}

		public List<Curve> Boundary
		{
			get
			{
				return this.m_lstBoundary;
			}
		}

		private List<Curve> m_lstBoundary = new List<Curve>();
	}
}
